package com.link_with_health.model;

public class DepartmentsEntity {
    private Long departmentId;
    private String department;
    private Integer parentDepart;
    private String introduction;

    public DepartmentsEntity() {
    }

    public DepartmentsEntity(Long departmentId, String department, Integer parentDepart, String introduction) {
        this.departmentId = departmentId;
        this.department = department;
        this.parentDepart = parentDepart;
        this.introduction = introduction;
    }

    public long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Integer getParentDepart() {
        return parentDepart;
    }


    public void setParentDepart(Integer parentDepart) {
        this.parentDepart = parentDepart;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    @Override
    public String toString() {
        return "Departments{" +
                "departmentId='" + departmentId + '\'' +
                ", department='" + department + '\'' +
                ", parentDepart='" + parentDepart + '\'' +
                ", introduction='" + introduction + '\'' +
                '}';
    }
}
